//
//  WZSettingCell.h
//  ETong
//
//  Created by wanzhao on 15/11/2.
//  Copyright (c) 2015年 wanzhao. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WZSettingCellDelegate <NSObject>

@optional
- (void)settingCellDidChangeValue:(BOOL)value withIndexPath:(NSIndexPath *)indexPath;

@end

@interface WZSettingCell : UITableViewCell

+ (instancetype)settingCellWithTableView:(UITableView *)tableView;

@property (nonatomic, weak) UISwitch *switchBtn;
@property (nonatomic, weak) UILabel *titLabel;
@property (nonatomic, assign) BOOL isOn;
@property (nonatomic, weak) id<WZSettingCellDelegate> settingDelegate;
@property (nonatomic, strong) NSIndexPath *cellIndexPath;
@end
